package com.ruoyi.cs.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 t_user
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
@Data
public class TUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /** 用户手机号 */
    @ApiModelProperty(value = "用户手机号")
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 用户密码 */
    @ApiModelProperty(value = "用户密码")
    @Excel(name = "用户密码")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String userPwd;

    /** 用户类型 */
    @ApiModelProperty(value = "用户类型")
    @Excel(name = "用户类型")
    private String userType;

    /** 用户余额 */
    @ApiModelProperty(value = "用户余额")
    @Excel(name = "用户余额")
    private BigDecimal userBalance;

    /** 用户充值总额 */
    @ApiModelProperty(value = "用户充值总额")
    @Excel(name = "用户充值总额")
    private BigDecimal userTotalRecharge;

    /** 用户本人推广码 */
    @ApiModelProperty(value = "用户本人推广码")
    @Excel(name = "用户本人推广码")
    private String userSelfCode;

    /** 用户推广链接 */
    @ApiModelProperty(value = "用户推广链接")
    @Excel(name = "用户推广链接")
    private String userUrl;

    /** 用户头像 */
    @ApiModelProperty(value = "用户头像")
    @Excel(name = "用户头像")
    private String userPic;

    /** 用户昵称 */
    @ApiModelProperty(value = "用户昵称")
    @Excel(name = "用户昵称")
    private String userName;

    /** 用户地区 */
    @ApiModelProperty(value = "用户地区")
    @Excel(name = "用户地区")
    private String userArea;

    /** 用户IP */
    @ApiModelProperty(value = "用户IP")
    @Excel(name = "用户IP")
    private String userIp;

    /** 备注2 */
    @ApiModelProperty(value = "steamID  关联账号")
    @Excel(name = "steamID  关联账号")
    private String steamID;

    /** 备注3 */
    @ApiModelProperty(value = "推广人的用户ID")
    @Excel(name = "推广人的用户ID")
    private String userPromotersId;

    /** 佣金占比 */
    @ApiModelProperty(value = "佣金占比")
    @Excel(name = "佣金占比")
    private BigDecimal commissionRatio;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志")
    @Excel(name = "删除标志")
    private String delFlag;

    /** 版本号 */
    @ApiModelProperty(value = "版本号")
    @Excel(name = "版本号")
    private Long version;

    /**是否可以取回 0 可以  1 不可以*/
    @ApiModelProperty(value = "是否可以取回 0 可以  1 不可以")
    private String isRetrieve;

    /**是否可以参与盲盒对战*/
    @ApiModelProperty(value = "是否可以参与盲盒对战")
    private String isBattle;

    /**
     * 验证码
     */
    @ApiModelProperty(value = "验证码")
    private String code;

    /**
     * 唯一标识
     */
    @ApiModelProperty(value = "唯一标识")
    private String uuid = "";

    /**
     * 后台标志
     */
    @ApiModelProperty(value = "后台标志")
    private String backStage;

    /**上架用户ID*/
    @ApiModelProperty(value = "上架用户ID")
    private String sjUserId;

    /**推广人数*/
    @ApiModelProperty(value = "推广人数")
    private Long tgNumOfPeople;

    /**推广人数*/
    @ApiModelProperty(value = "前端展示对战 0 是 1 否")
    private String battleQdzs;

    /**推广人数*/
    @ApiModelProperty(value = "禁止主播参与盲盒对战 0 是 1 否")
    private String  battleJzzb;
    /**推广人数*/
    @ApiModelProperty(value = "推广用户邀请码")
    private String  tgUserSelfCode;

    @ApiModelProperty(value = "推广人昵称")
    private String tgUserName;

    @ApiModelProperty(value = "是否已实名认证 0 是 1  否")
    private String isAuthentication;

    @ApiModelProperty(value = "新用户次数")
    private Integer newUserNum;

    @ApiModelProperty(value = "支付平台 0聚合支付 1汇潮")
    private String  payPlatform;

    @ApiModelProperty(value = "商城可购买额度")
    private BigDecimal purchaseQuota;

    @ApiModelProperty(value = "主播离职状态 0 正常 1 离职")
    private String anchorResignationStatus;

    @ApiModelProperty(value = "充值积分")
    private BigDecimal czIntegral;

    @ApiModelProperty(value = "推广积分")
    private BigDecimal tgIntegral;

    @ApiModelProperty(value = "是否展示扫雷")
    private String whetherShowMineClearance;

    @ApiModelProperty(value = "用户VIP等级")
    private Long userVip;

    @ApiModelProperty(value = "会员成长值")
    private BigDecimal vipValue;

    @ApiModelProperty(value = "保级充值成长值")
    private BigDecimal relegationValue;

    @ApiModelProperty(value = "会员累计充值")
    private BigDecimal vipRecharge;

    @ApiModelProperty(value = "客户端种子")
    private String userSeed;

    @ApiModelProperty(value = "对战玩法文案")
    private String battleCopywriting;

    @ApiModelProperty(value = "幸运饰品玩法文案")
    private String luckyGoodsCopywriting;

    @ApiModelProperty(value = "人情工单展示开关 0 展示 1 不展示")
    private String compensateShowSwitch;

    @ApiModelProperty(value = "第二套货币")
    private BigDecimal secondCurrency;

    @ApiModelProperty(value = "用户历史取回额度")
    private BigDecimal historyRecoveryQuota;

    @ApiModelProperty(value = "额外给用户增加的取回额度")
    private BigDecimal extraQuota;

    @ApiModelProperty(value = "是否允许主播创建免费对战")
    private Boolean isFanBattleEnabled = true;

    @ApiModelProperty(value = "单次对战额度")
    private BigDecimal singleBattleLimit;

    @ApiModelProperty(value = "总对战额度")
    private BigDecimal totalBattleLimit;

    @ApiModelProperty(value = "每日创建免费对战次数")
    private Integer dailyFreeBattleCount;

    @ApiModelProperty(value = "日充值额度")
    private BigDecimal dailyRechargeAmount;

    @ApiModelProperty(value = "总充值额度")
    private BigDecimal totalRechargeAmount;

    @ApiModelProperty(value = "未关注是否可参与粉丝对战")
    private Boolean isFollowBattleEnabled = false;

    @ApiModelProperty(value = "头像框时长")
    private Integer avatarFrameDuration;

    @ApiModelProperty(value = "消费计量值")
    private BigDecimal consumeValue;

    @ApiModelProperty(value = "充值金额范围")
    private String czMoneRange;


}
